JavaScript

{dialog.object}setRepeatingSectionActiveRow Method

If the repeating section contains deleted rows, the physical row number and logical row number will not match. Prefer to use the {dialog.object}.setRepeatingSectionActiveLogicalRow() method in this case.

Syntax

{dialog.Object}.setRepeatingSectionActiveRow(sectionName,instNumber)

Arguments

sectionName

A specified repeating section.

instNumber

The physical row number for the active row.

Description

Sets the active row in the specified Repeating Section.

Discussion

The setRepeatingSectionActiveRow() method sets the active row in a Repeating Section.

The instNumber is the physical row number. This is not necessarily the same as the logical row number if rows have been deleted from the Repeating Section. Use the {dialog.object}.setRepeatingSectionActiveLogicalRow() method to set the active row using the logical row number.

Example

{dialog.object}.setRepeatingSectionActiveRow("REPSEC_1",2);

See Also